package com.david.cloud.user.service;

import com.david.cloud.user.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author david
 * @since 2020-05-24
 */
public interface IUserService extends IService<User> {

    User register(String email, String password, String code);

    User login(String email, String password);
}
